<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>报告查询</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weui.css" />
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weuix.css" />
    <script src="/lobsteruiframe/weui/js/zepto.min.js"></script>
    <script src="/lobsteruiframe/weui/js/zepto.weui.js"></script>
    <script src="/lobsteruiframe/weui/js/swipe.js"></script>
    <script src="/lobsteruiframe/weui/js/macy.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="/jslib/template-web.js"></script>

    <script src="../js/reportlist.js"></script>
    <style>
        .labeltag {
            margin: 0.3125em 0.3125em 0 0;
            display: inline-block;
            position: relative;
            line-height: 1.4em;
            height: 1.4em;
            padding: 0 0.625em;
            border: 1px solid #cacccd;
            border-radius: 0.1875em;
        }

        .top {
            border-bottom: 1px solid #e8e8e8;
            position:fixed;
            left: 0;
            top: 0;
            right: 0;
            z-index: 99999;
            background: #F6F6F9
        }

        .weui-cells {
            margin-top: 0 !important;
        }

        .selectLable {
            background-color: #FF6600;
            color: #FFFFFF;
        }
    </style>
</head>

<body ontouchstart>
    <div class="container">
        <div class="top">
            <div class="weui-cells" style="  height: 44px;background: #F8F8F8;  ">
                <a class="weui-cell weui-cell_access" href="javascript:;">
                    <div class="weui-cell__bd" style="text-align: center;" id="patiengdiv">
                        <p id="selectedPatient">选择就诊人</p>
                    </div>
                    <div class="weui-cell__ft">
                    </div>
                </a>
            </div>
            <div class="weui-tab" id="t1" style="height:44px; ">
                <div class="weui-navbar">
                    <div class="weui-navbar__item">
                        检验报告
                    </div>
                    <div class="weui-navbar__item">
                        检查报告
                    </div>
                </div>
            </div>
        </div>
        <div class="page-bd" style="margin-top:100px;">
            <div class="weui-panel__bd">
                <div class="weui-media-box weui-media-box_small-appmsg">
                    <div style=" margin: 15px 10px 10px 10px;">
                        <div class="weui-label-list">
                            <label class="labeltag selectLable" data-index="0">近一周</label>
                            <label class="labeltag f-gray " data-index="1">近一月</label>
                            <label class="labeltag f-gray " data-index="2">半年内</label>
                            <label class="labeltag f-gray " data-index="3">半年以上</label>
                        </div>
                    </div>
                    <div class="weui-cells" id="div_data">

                    </div>
                </div>
            </div>
        </div>

        <!-- <div class="weui-loadmore hide" id="more">
            <i class="weui-loading"></i>
            <span class="weui-loadmore__tips">正在加载</span>
        </div> -->
    </div>

    <div id="half" class='weui-popup__container popup-bottom'>
        <div class="weui-popup__overlay"></div>
        <div class="weui-popup__modal">
            <div class="toolbar">
                <div class="toolbar-inner">
                    <a href="javascript:;" class="picker-button close-popup">关闭</a>
                    <h1 class="title">选择就诊人</h1>
                </div>
            </div>
            <div class="modal-content" style="min-height: 300px;">
                <div class="weui-cells weui-cells_form">
                    <div class="weui-cells" id="sidebaritem">

                    </div>
                </div>
            </div>
        </div>
    </div>

</body>

</html>

<script id="tplcard" type="text/html">
    {{if(list.length>0)}}
    {{each list }}
    <a class="weui-cell weui-cell_access carditem" href="javascript:;" data-info="{{$value}}" style="padding:6px 15px;">
        <div class="weui-cell__bd">
            <p> {{$value.Name}} : {{$value.IDCard}}</p>
        </div>
    </a>
    {{/each}}

    {{else}}
    <a class="weui-cell weui-cell_access bindcard" href="javascript:;" style="padding:6px 15px;">
        <div class="weui-cell__bd">
            <p style="display: flex; align-items: center;"> 暂无符合要求的卡片，去绑卡</p>
        </div>
    </a>
    {{/if}}
</script>

<script type="text/template" id="tplrecord">
    {{each  list }}
    <div style="border: 1px solid #E5E5E5;border-radius: 5px;    margin: 10px;">
      
        <div class="weui-cells__title item" style="margin-top:0"   data-info="{{$value}}">
            
                    <a class="weui-cell weui-cell_access " href="javascript:;">
                        <div class="weui-cell__bd"  >
                            <div class="weui-cell__bd">
                                <p class="page-hd-desc">项目名称:{{$value.ExamItemName}}</p>
                                <p class="page-hd-desc">申请医生:{{$value.ApplyDoc}}</p>                         
                                <p class="page-hd-desc">申请时间:{{$value.InspectionTime}}</p>
                            </div> 
                        </div>
                        <div class="weui-cell__ft">
                        </div>
                    </a> 
            
         
        </div>
       
    </div>
    {{/each}}
</script>